<?php
namespace addons\kindeditor;

use azthink\Addons;
use think\facade\Hook;

class Kindeditor extends Addons {

    // 该插件的基础信息
    public $info = [
        'name' => 'kindeditor',    // 插件标识
        'title' => 'Kindeditor编辑器',    // 插件名称
        'description' => 'Kindeditor编辑器',    // 插件简介
        'status' => 0,    // 状态
        'author' => '李忠',
        'version' => '0.1'
    ];

    public function install() {

    }

    public function uninstall() {

    }

    public function kindeditor($param = []){
        $this->assign('kindeditor', $param);
        return $this->fetch('info');
    }

}